<section id="classes">
    <h2>Classes <span style="float:right; font-size:smaller;"><a href="">&uparrow;</a></span></h2>
    <ul class="hlist">
      {%- for i in class_index %}
      {{i}}
      {%- endfor %}
    </ul>
    {%- for class in classes %}
    {{ class|safe }}
    {%- endfor %}
</section>